<template>
  <div>
    <el-button type="danger" size="mini" @click="closeBMap">完成</el-button>
    <div style="margin-top: 10px">
      <el-form :inline="true">
        <el-row>
          <el-col :span="12">
            <el-form-item label="经度">
              <el-input v-model="longitude" :disabled="true" style="width: 240px" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="纬度">
              <el-input v-model="latitude" :disabled="true" style="width: 240px" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
  </div></template>

<script>
export default {
  name: 'SelectPoint',
  props: {
    longitude: {
      type: String,
      default: ''
    },
    latitude: {
      type: String,
      default: ''
    }
  },
  methods: {
    closeBMap() {
      this.$emit('finish')
    }
  }
}
</script>

<style scoped>

</style>
